home *** CD-ROM | disk | FTP | other *** search
INI File | 2002-07-11 | 1.8 KB | 45 lines |
- ; Note: comment lines in .INI files always start with a semicolon
-
- [Template]
- Description=Use this template to create a job that will execute specified command on remote UNIX host.
-
- [Variables]
- ; Key values that have their name enclosed in % signs will be used for
- ; template wizard questionnaire and substitution variables
- ; such key values should consist of 2 comma separated parts:
- ; 1. Field Edit Style (EDIT, YES/NO, FILE BROWSE,
- ; DIR BROWSE, PROCESS BROWSE,
- ; FTP BROWSE, MAIL PROFILE LIST,
- ; REMOTE FILE BROWSE, REMOTE DIR BROWSE,
- ; REMOTE AGENT LIST, DB PROFILE LIST)
- ; 2. Prompt
- ;
- ; Example: %VAR%=EDIT,What is the name of the service that you want to monitor?
- ;
- ; Key values that don't have their name enclosed in % signs will be used for
- ; job properties (See online help on "Job property names for use with JDL commands"
- ; topic for more details).
- ;
- ; Example: DAY_NUMBER=1
-
- %HOST%=EDIT,On which remote host do you want to run command?
- %COMMAND%=EDIT,What command do you want to run?
- %USER%=EDIT,Enter your user id to use for authentication on the remote host:
- %START_TIME%=EDIT,Enter job start time (hh:mm in 24-hour time format):
- JOB_TYPE=S
- SCHEDULE_TYPE=D
- START_TIME=%START_TIME%
- ASYNC=N
- DESCRIPTION=Every work day this job runs <insert command here> command on the remote UNIX host.
-
- ; Notes: The script bellow can include substitution variables.
- ; Substitution variables must be specified in %VAR% format
- ; where VAR is the variable name.
- ;
- ; Everything after the next line will be used for the template script.
- ;========================================================================================
- [Body]
-
- Dim process_id, number
- Run "cmd /c rexec %HOST% -l %USER% -n %COMMAND%", "", process_id
-